/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  DbAccountGroup.java                                      
 *  File Contents Outline : 用户组数据对象
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */

package storage.dbobject;

import java.util.UUID;

public class DbAccountGroup {
    public static final String cl_key = "KEY";
    private String rowKey;
    public static final String cl_groupName = "groupName";
    private String groupName;
    public static final String cl_groupId = "groupId";
    private String groupId;

    public DbAccountGroup(String rowKey, String groupName, String groupId) {
        this.rowKey = rowKey;
        this.groupName = groupName;
        this.groupId = groupId;
    }

    public DbAccountGroup(String groupName, String groupId) {
        this.rowKey = UUID.randomUUID().toString();
        this.groupName = groupName;
        this.groupId = groupId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getRowKey() {
        return rowKey;
    }

    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }
    
    
}
